-- GENERATED SPELL FOR [Captured Arko'narin] --


function spell0_11016(pUnit, Event) --@Cleave,n/a--
pUnit:FullCastSpellOnTarget(15496,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11016', 590, 1)
end

function spell1_11016(pUnit, Event) --@Mortal Strike,n/a--
pUnit:FullCastSpellOnTarget(16856,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11016', 5296, 1)
end

function spell2_11016(pUnit, Event) --@Strength of Arko\'narin,Self--
pUnit:FullCastSpellOnTarget(18163,pUnit)
pUnit:RegisterEvent('Sorts_11016', 4000, 1)
end

function Sorts_11016(pUnit, Event)
local choix_sorts_11016 = math.random(0, 2)
if choix_sorts_11016 == 0 then
pUnit:RegisterEvent('spell0_11016', 1, 1)
end
if choix_sorts_11016 == 1 then
pUnit:RegisterEvent('spell1_11016', 1, 1)
end
if choix_sorts_11016 == 2 then
pUnit:RegisterEvent('spell2_11016', 1, 1)
end
end

function mob11016_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11016', math.random(1500, 3000), 1)
end

function mob11016_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11016_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11016_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11016, 1, 'mob11016_Action')
RegisterUnitEvent(11016, 2, 'mob11016_Leave')
RegisterUnitEvent(11016, 3, 'mob11016_Kill')
RegisterUnitEvent(11016, 4, 'mob11016_Die')
